diff options
author | Tristan Heaven <tristan@gentoo.org> | 2008-02-15 22:50:02 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2008-02-15 22:50:02 +0000 |
commit | 91a70ba8e655ed51f485857949c97ad0c9b4bf84 (patch) | |
tree | 867f7266053fb07bce3617dace77f2b81c8db382 /games-sports/trophy/files/trophy-1.1.5-display-segv.patch | |
parent | Filter CFLAGS (diff) | |
download | historical-91a70ba8e655ed51f485857949c97ad0c9b4bf84.tar.gz historical-91a70ba8e655ed51f485857949c97ad0c9b4bf84.tar.bz2 historical-91a70ba8e655ed51f485857949c97ad0c9b4bf84.zip |
Version bump, bug #181743
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-sports/trophy/files/trophy-1.1.5-display-segv.patch')
-rw-r--r-- | games-sports/trophy/files/trophy-1.1.5-display-segv.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-sports/trophy/files/trophy-1.1.5-display-segv.patch b/games-sports/trophy/files/trophy-1.1.5-display-segv.patch new file mode 100644 index 000000000000..83860d229ec3 --- /dev/null +++ b/games-sports/trophy/files/trophy-1.1.5-display-segv.patch @@ -0,0 +1,11 @@ +--- src/caplayer.cpp.old 2007-08-30 02:52:11.000000000 +0200 ++++ src/caplayer.cpp 2007-08-30 02:52:58.000000000 +0200 +@@ -914,6 +914,8 @@ + void + CAPlayer::display( int offsetX, int offsetY ) + { ++ if (frame >= CA_FPR) ++ frame = CA_FPR - 1; + sprite[frame]->draw ( (int)(x+offsetX - sprite[ frame ]->get_width()/2), + (int)(y+offsetY - sprite[ frame ]->get_height()/2) ); + |