1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/games/shootingstar/files/patch-src-game-cOptions.cpp
Dmitry Marakasov 3855759fd5 - Support staging
- Convert USE_GMAKE to USES
- Fix segfault
- Rename patches according to porter's handbook
2013-10-19 02:58:40 +00:00

12 lines
380 B
C++

--- src/game/cOptions.cpp.orig Mon Dec 22 08:09:06 2003
+++ src/game/cOptions.cpp Sun Nov 20 03:12:28 2005
@@ -201,7 +201,7 @@
dbgError () << "Unable to read from options file\n";
throw runtime_error ("Unable to load options");
}
- int (keys.keys[i]) = key; // IS THIS SAFE?
+ keys.keys[i] = (SDLKey)key; // IS THIS SAFE?
fin >> key;
keys.buttons[i] = key;