Fix build.

This commit is contained in:
David Anderson 2013-03-29 12:19:41 -07:00
parent ea441b3d70
commit 97f7b4f59f

View File

@ -250,13 +250,13 @@ static int load_mms_plugin(const char *file, bool *ok, char *error, size_t maxle
Pl_Status status; Pl_Status status;
#ifndef METAMOD_PLAPI_VERSION #ifndef METAMOD_PLAPI_VERSION
const char *file; const char *filep;
PluginId source; PluginId source;
#endif #endif
if (!id || ( if (!id || (
#ifndef METAMOD_PLAPI_VERSION #ifndef METAMOD_PLAPI_VERSION
g_pMMPlugins->Query(id, file, status, source) g_pMMPlugins->Query(id, filep, status, source)
#else #else
g_pMMPlugins->Query(id, NULL, &status, NULL) g_pMMPlugins->Query(id, NULL, &status, NULL)
#endif #endif