aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-18 19:56:36 +0000
committerFilippos Karapetis2007-06-18 19:56:36 +0000
commit3f5202ea383b6e9c21a54e142eca578bb000cba5 (patch)
tree9beffad9e5fd851ea6037eb3d196a90d729a6778
parentdc62023190055f909d1a5183b8c1396051a7cfa2 (diff)
downloadscummvm-rg350-3f5202ea383b6e9c21a54e142eca578bb000cba5.tar.gz
scummvm-rg350-3f5202ea383b6e9c21a54e142eca578bb000cba5.tar.bz2
scummvm-rg350-3f5202ea383b6e9c21a54e142eca578bb000cba5.zip
Change some regular integers to short integers
svn-id: r27538
-rw-r--r--engines/saga/scene.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/saga/scene.h b/engines/saga/scene.h
index 6a67ac7430..1fc090d0ce 100644
--- a/engines/saga/scene.h
+++ b/engines/saga/scene.h
@@ -310,10 +310,10 @@ class Scene {
#endif
return _sceneLUT[sceneNumber];
}
- int currentProtag() const { return _currentProtag; }
- int currentTrack() const { return _currentTrack; }
- void setProtag(int pr) { _currentProtag = pr; }
- void setTrack(int tr) { _currentTrack = tr; }
+ int16 currentProtag() const { return _currentProtag; }
+ int16 currentTrack() const { return _currentTrack; }
+ void setProtag(int16 pr) { _currentProtag = pr; }
+ void setTrack(int16 tr) { _currentTrack = tr; }
int currentSceneNumber() const { return _sceneNumber; }
int currentChapterNumber() const { return _chapterNumber; }
@@ -352,8 +352,8 @@ class Scene {
int _sceneCount;
SceneQueueList _sceneQueue;
bool _sceneLoaded;
- int _currentProtag;
- int _currentTrack;
+ int16 _currentProtag;
+ int16 _currentTrack;
int _sceneNumber;
int _chapterNumber;
int _outsetSceneNumber;