Mercurial > hg > forks > yadex
diff src/img.cc @ 80:2f1ecc1c5f72
Huge cleanup -- move some global variables into a struct.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Sep 2011 17:39:49 +0300 |
parents | a68786b9c74b |
children |
line wrap: on
line diff
--- a/src/img.cc Mon Sep 26 17:14:54 2011 +0300 +++ b/src/img.cc Mon Sep 26 17:39:49 2011 +0300 @@ -211,7 +211,7 @@ FILE *fp = 0; // Load palette 0 from PLAYPAL - MDirPtr dir = FindMasterDir(MasterDir, "PLAYPAL"); + MDirPtr dir = FindMasterDir(cfg.MasterDir, "PLAYPAL"); if (dir == 0) { errno = ECHILD;