This website requires JavaScript.
Explore
Help
Sign In
Mahtan
/
wagic
Watch
1
Star
0
Fork
0
You've already forked wagic
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
78f5b119199ea5daf80583579e7d71c17ea37075
wagic
/
projects
/
mtg
/
src
/
WResourceManager.cpp
techdragon.nguyen@gmail.com
42cdd27e0b
fixed music bug for Momir and Random game types. The functions that determined if a file existed did not handle errors properly. Instead it would return an empty string which when appended to the base path would always return true. Thus a non-existent file would always be treated as if it existed. The guards I put in test for empty strings before continuing evaluation. I may have been a little judicious in the places where I put the gaurds in. We can remove the guards if it turns out we don't need them in all the places.
2012-02-23 02:11:14 +00:00
39 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink