Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F622470
Fix-for-Earth-Graphic-crash
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
610 B
Referenced Files
None
Subscribers
None
Fix-for-Earth-Graphic-crash
View Options
Description: Fix for Earth Graphic crash
Change filename String for bitmap loader re: EARTH.png.
This prevents crash on certain conditions like Game Over.
Forwarded: not-needed
--- darthinvaders-1.0.orig/Test.cpp
+++ darthinvaders-1.0/Test.cpp
@@ -157,7 +157,7 @@ int main(void)
emperor1 = al_load_sample("Sounds/Emperor1.ogg");
emperor2 = al_load_sample("Sounds/Emperor2.ogg");
emperor3 = al_load_sample("Sounds/Emperor3.ogg");
- State3 = al_load_bitmap("Pictures/EARTH.png");
+ State3 = al_load_bitmap("Pictures/Earth.png");
State4 = al_load_bitmap("Pictures/DeathStar.png");
//Load Pictures
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 14, 8:13 PM (23 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135678
Default Alt Text
Fix-for-Earth-Graphic-crash (610 B)
Attached To
Mode
R72 DarthInvaders
Attached
Detach File
Event Timeline