mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 18:27:26 +00:00
CGE2: Fix loadSprite().
This commit is contained in:
parent
bf820481b7
commit
8a1b90acaf
@ -99,11 +99,10 @@ void CGE2Engine::loadSprite(const char *fname, int ref, int scene, V3D &pos) {
|
||||
|
||||
for (line = sprf.readLine(); !sprf.eos(); line = sprf.readLine()){
|
||||
int len = line.size();
|
||||
Common::strlcpy(tmpStr, line.c_str(), sizeof(tmpStr));
|
||||
if (len == 0 || *tmpStr == ';')
|
||||
continue;
|
||||
|
||||
Common::strlcpy(tmpStr, line.c_str(), sizeof(tmpStr));
|
||||
|
||||
|
||||
char *p;
|
||||
p = token(tmpStr);
|
||||
if (*p == '@') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user