From 90bc292c0764d691378cdaaa19d56eb585c95a3c Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 25 Nov 2009 01:34:03 +0000 Subject: [PATCH] fix bug with alt_host --- direct/src/plugin/p3dHost.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/plugin/p3dHost.cxx b/direct/src/plugin/p3dHost.cxx index a1399a0055..389643bfdf 100644 --- a/direct/src/plugin/p3dHost.cxx +++ b/direct/src/plugin/p3dHost.cxx @@ -171,7 +171,7 @@ read_contents_file(const string &contents_filename) { const char *url = xalthost->Attribute("url"); if (url != NULL && _host_url == string(url)) { // Yep, we're this alternate host. - read_xhost(xhost); + read_xhost(xalthost); break; } xalthost = xalthost->NextSiblingElement("alt_host");