Skip to content
Snippets Groups Projects
Forked from STJr / SRB2
Source project has a limited visibility.
  • Monster Iestyn's avatar
    aee8dcdf
    Fix 64-bit build-using admins not being able to kick players besides... · aee8dcdf
    Monster Iestyn authored
    Fix 64-bit build-using admins not being able to kick players besides themselves, by not checking sendingsavegame[] code at all if not the server
    
    it turns out playernode[pn] is typically 255 in the above situation, so sendingsavegame[playernode[pn]] goes out of bounds ...but goodness knows why 32-bit builds didn't suffer the same bug, seems to have been pure luck
    aee8dcdf
    History
    Fix 64-bit build-using admins not being able to kick players besides...
    Monster Iestyn authored
    Fix 64-bit build-using admins not being able to kick players besides themselves, by not checking sendingsavegame[] code at all if not the server
    
    it turns out playernode[pn] is typically 255 in the above situation, so sendingsavegame[playernode[pn]] goes out of bounds ...but goodness knows why 32-bit builds didn't suffer the same bug, seems to have been pure luck