Prevent error if Resource table is empty
This commit is contained in:
parent
b57ccd7ed5
commit
6be5aac70d
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ static const struct
|
|||
{"ORG", "ZONBIE", rZonbie, sizeof(rZonbie)},
|
||||
|
||||
{"WAVE", "WAVE100", rWave, sizeof(rWave)},
|
||||
{"DUMMY", "DUMMY", NULL, 0} // Just here to prevent errors in the event the array is otherwise empty
|
||||
};
|
||||
|
||||
const unsigned char* FindResource(const char *name, const char *type, size_t *size)
|
||||
|
|
Loading…
Add table
Reference in a new issue